package com.blqy.fr.model.template;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 模板标签关系实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "TemplateTagRelation")
@TableName("template_tag_relation")
public class TemplateTagRelation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "模板id")
    @TableField("template_id")
    private Long templateId;

    @Schema(description = "模板标签id")
    @TableField("template_tag_id")
    private Long templateTagId;

    @Schema(description = "是否可见：0=否，1=是")
    @TableField("is_visible")
    private Integer isVisible;

    @Schema(description = "是否必填：0=否，1=是")
    @TableField("is_required")
    private Integer isRequired;

    @Schema(description = "是否可编辑：0=否，1=是")
    @TableField("is_edit")
    private Integer isEdit;
}